RichTextKit v0.4

RunExtensions.TotalLength<T> Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Utils
Declaring Type: RunExtensions

Get the total length of a list of consecutive runs

public static int TotalLength<T>(this IReadOnlyList<T> list);

Type Parameters

T

The element type

Parameters

this IReadOnlyList<T> list

The list of runs

Returns

int

The total length